<template>
  <el-main>
    <router-view :key="key" />
  </el-main>
</template>

<script>
export default {
  name: 'myProjectMain',
  computed: {
    key() {
      return this.$route.path
    }
  }
}
</script>

<style scoped>
.el-main {
  min-height: 650px;
  background-color: #fbfbfb;
}
</style>
